package com.gf.snoopy.mapper;

import java.util.List;

import com.gf.snoopy.domain.SubProject;

public interface SubProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SubProject record);

    int insertSelective(SubProject record);

    SubProject selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SubProject record);

    int updateByPrimaryKey(SubProject record);
    
    List<SubProject> queryByCondition(SubProject record);
    
    List<SubProject> queryByProjectId(Integer projectId);
    
    int deleteByProjectId(Integer project_id);
}